<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>kindeditor使用</title>

</head>
<body>
<textarea id="KE" style="width: 1000%;height:300px;display: block;"></textarea>
<button  onclick="getKEContent()">获取内容</button>
<script type="text/javascript" src="/kindeditor/kindeditor-all.min.js"></script>
<script type="text/javascript" src="/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript">
	window.KEeditor = KindEditor.create('textarea#KE', {
		themeType: 'simple',
		uploadJson: '/attachFiles/keupload',
		afterBlur: function() {
			this.sync();
		},
	});
	function getKEContent(){
		alert(KEeditor.html());
	}
</script>
</body>
</html>